package com.demo.core.model;

import java.util.Date;

import com.demo.core.model.support.NestedSetModel;

/**
 * 机构模型
 * 机构所在区域
 * 机构所在站点信息
 * 
 * @author ryuu.kk
 */
public class Org extends NestedSetModel {

	/**
	 * 序列化ID
	 */
	private static final long serialVersionUID = 8232317196841566580L;

	/**
	 * 站点外键ID,该机构对应的站点
	 */
	private Long siteId;
	/**
	 * 所属的区域，外键
	 */
	private Long areaId;
	/**
	 * 机构的LOGO，图片外键
	 */
	private Long logoId;
	/**
	 * 机构名称
	 */
	//private String name;
	/**
	 * 机构编码
	 */
	private String code;
	/**
	 * 机构类型：临时机构、永久结构、注册机构等（待定）
	 */
	private String type;
	/**
	 * 机构有效期限日
	 */
	private Date expireDay;
	/**
	 * 机构是否可用
	 */
	private boolean enabled;
	/**
	 * 创建用户
	 */
	private Long createUser;
	/**
	 * 创建时间
	 */
	private Date createDate;
	/**
	 * 修改用户
	 */
	private Long modifyUser;
	/**
	 * 修改时间
	 */
	private Date modifyDate;
	/**
	 * 备注
	 */
	private String notes;
	
	public Long getSiteId() {
		return siteId;
	}
	public void setSiteId(Long siteId) {
		this.siteId = siteId;
	}
	public Long getAreaId() {
		return areaId;
	}
	public void setAreaId(Long areaId) {
		this.areaId = areaId;
	}
	public Long getLogoId() {
		return logoId;
	}
	public void setLogoId(Long logoId) {
		this.logoId = logoId;
	}
	public String getCode() {
		return code;
	}
	public void setCode(String code) {
		this.code = code;
	}
	public String getType() {
		return type;
	}
	public void setType(String type) {
		this.type = type;
	}
	public Date getExpireDay() {
		return expireDay;
	}
	public void setExpireDay(Date expireDay) {
		this.expireDay = expireDay;
	}
	public boolean getEnabled() {
		return enabled;
	}
	public void setEnabled(boolean enabled) {
		this.enabled = enabled;
	}
	public Long getCreateUser() {
		return createUser;
	}
	public void setCreateUser(Long createUser) {
		this.createUser = createUser;
	}
	public Date getCreateDate() {
		return createDate;
	}
	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}
	public Long getModifyUser() {
		return modifyUser;
	}
	public void setModifyUser(Long modifyUser) {
		this.modifyUser = modifyUser;
	}
	public Date getModifyDate() {
		return modifyDate;
	}
	public void setModifyDate(Date modifyDate) {
		this.modifyDate = modifyDate;
	}
	public String getNotes() {
		return notes;
	}
	public void setNotes(String notes) {
		this.notes = notes;
	}
}